from py_stealth import *

while True:
    if GetHP(0x000BAC9C) < GetMaxHP(0x000BAC9C):
        if TargetPresent():
            CancelTarget()
        CastToObj('heal', 0x000BAC9C)
        Wait(1500)
